#include "Rp2CullState.h"

using namespace Rp2;

RP2_IMPLEMENT_INITIALIZE(CullState);
RP2_IMPLEMENT_TERMINATE(CullState);

//---------------------------------------------------------------------------------------------------
CullState::CullState()
{
	Enabled = true;
	FrontFace = FT_CCW;
	CullFace = CT_BACK;
}
//---------------------------------------------------------------------------------------------------
CullState::~CullState()
{
}
//---------------------------------------------------------------------------------------------------
void CullState::Initialize()
{
	DefaultStates[CULL] = new CullState;
}
//---------------------------------------------------------------------------------------------------
void CullState::Terminate()
{
	DefaultStates[CULL] = 0;
}
//---------------------------------------------------------------------------------------------------